package com.farmpost.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户相关资料表
 * </p>
 *
 * @author king
 * @since 2022-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserMaterials对象", description="用户相关资料表")
public class UserMaterials implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "学生是否认证")
    private Integer isStuCertification;

    @ApiModelProperty(value = "用户个人介绍")
    private String selfIntroduction;

    @ApiModelProperty(value = "用户获得赞数")
    private Integer greatCount;

    @ApiModelProperty(value = "我的评论id")
    private Integer commentId;

    @ApiModelProperty(value = "我的粉丝数量")
    private Integer myFanCount;

    @ApiModelProperty(value = "我的关注数量")
    private Integer myFocusCount;

    @ApiModelProperty(value = "预留字段")
    private String other;


}
